package com.community.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ToDo:
 * @Author：高尚磊
 * @date: 2024/6/4 16:04
 */
@Getter
@Setter
@TableName("people_record")
public class PeoplePO implements Serializable {
    @TableId(type = IdType.AUTO )
    private Long id;
    private String communityName;
    private String ownerName;
    private String chance;   //人员出入闸机
    private String phone;    //手机号
    @DateTimeFormat(pattern = "yyyy-MM-dd")  //人员出入时间
    private Date pDate;
    private String way;        //出入方式
    private String name;      //昵称
}
